<html>

<head>
    <meta charset="utf-8">
    <title>喵~~</title>
    <link rel="stylesheet" type="text/css" href="style.css">
    <link rel="shortcut icon" href="favicon.ico">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>

<body>
	<!-- 暂时采用这种兼容性较差的方案 -->
    <ul>
        <li><a class="active" href="#">本喵的个人主页</a></li>
        <li><a href="cat_planet/index.html">前往喵星</a></li>
        <li><a href="resource/index.html">资源</a></li>
        <li><a href="blog/index.html">博客</a></li>
    </ul>

    <h3>在上方导航栏中也可以进入想要的页面喵~</h3>
    <br />
    <button class="btn btn-green" onclick="window.location.href = 'cat_planet/index.html'">前往喵星</button>
    <br />
    <button class="btn btn-blue" onclick="window.location.href = 'resource/index.html'">资源</button>
    <button class="btn btn-blue" onclick="window.location.href = 'blog/index.html'">博客</button>
    <br /><br /><br /><br /><br /><br /><br /><br />
    <button class="btn btn-green" onclick="window.location.href = 'classic/index.html'">旧版网页</button>
    <script>
        var badurl=[
            "cat_planet.gitee.io",
            "cat_planet.gitee.io/",
            "http://cat_planet.gitee.io",
            "https://cat_planet.gitee.io",
            "http://cat_planet.gitee.io/",
            "https://cat_planet.gitee.io/",
            "http://cat_planet.gitee.io/cat_planet/",
            "http://cat_planet.gitee.io/cat_plenet",
            "http://cat_planet.gitee.io/index.html"
            ]

        for(var i=0;i<badurl.length;i++){
            if(window.location.href === badurl[i]){
                window.location.href = "https://cat_planet.gitee.io/cat_planet/";
            }
        }
    </script>
</body>

</html>
